TEX_FILE = navier-stokes.tex
BIB_FILE = references.bib
PDF_FILE = navier-stokes.pdf
all: $(PDF_FILE)
$(PDF_FILE): $(TEX_FILE) $(BIB_FILE)
	xelatex $(TEX_FILE)
	bibtex $(basename $(TEX_FILE))
	xelatex $(TEX_FILE)
	xelatex $(TEX_FILE)
clean:
	rm -f $(PDF_FILE) *.aux *.log *.out *.toc *.bbl *.blg
.PHONY: all clean
